// example routes
/*
get "/blog/@year/@month/@day/@title", forward: "/WEB-INF/groovy/blog.groovy?year=@year&month=@month&day=@day&title=@title"
get "/something", redirect: "/blog/2008/10/20/something", cache: 2.hours
get "/book/isbn/@isbn", forward: "/WEB-INF/groovy/book.groovy?isbn=@isbn", validate: { isbn ==~ /\d{9}(\d|X)/ }
*/

// routes for the blobstore service example
get "/upload",  forward: "/upload.gtpl"
get "/success", forward: "/success.gtpl"
get "/failure", forward: "/failure.gtpl"

post "/crea/queixa", forward:"/WEB-INF/groovy/novaQueixa.groovy"

all "/queixa/@action", forward:"/WEB-INF/groovy/QueixaController.groovy?action=@action"
all "/queixa", forward: "/WEB-INF/groovy/QueixaController.groovy"

all "/entidade/@action", forward:"/WEB-INF/groovy/EntidadeController.groovy?action=@action"
all "/entidade", forward: "/WEB-INF/groovy/EntidadeController.groovy"